﻿using Microsoft.SharePoint;

namespace BoldBrick.SharePoint.CommonControls.ListItemProcessing
{
	public struct ListItemCopyOptions
	{
		/// <summary>
		/// copy or move a file to the specific subfolder. Does not apply to list items.
		/// </summary>
		public SPFolder DestinationFolder;

		/// <summary>
		/// does not apply to document libraries
		/// </summary>
		public bool IncludeAttachments;

		/// <summary>
		/// move or copy file or list item
		/// </summary>
		public OperationType OperationType;

		/// <summary>
		///overwrite when copying or moving a file. Does not apply to list items.
		/// </summary>
		public bool Overwrite;

		/// <summary>
		/// File name of destination file
		/// </summary>
		public string DestinationFileName;
	}
}
